//
//  CustomCalloutView.h
//  didihaha
//
//  Created by 赵忠鹏 on 2017/8/17.
//  Copyright © 2017年 zhaozhongpeng. All rights reserved.
//

#import <UIKit/UIKit.h>

#define arrowHeight 10

#define portraitMargin 5
#define portraitWidth 50
#define portraitHeight 70

#define titleWidth 120
#define titleHeight 20

#define btnWidth 50
#define btnHeight 30

@interface CustomCalloutView : UIView

//设置气泡title
-(void)setTitle:(NSString *)title;
//设置气泡subtitle
-(void)setSubtitle:(NSString *)subtitle;
//设置气泡显示的图片
-(void)setImage:(UIImage *)image;
//设置气泡button样式
-(void)setBtnTitle:(NSString *)text forState:(UIControlState)state;
//设置气泡button点击回调
-(void)btnAddTarget:(id)target
             action:(SEL)action
   forControlEvents:(UIControlEvents)evnets;

@end
